import { createApp } from 'vue';
import router from '@/router/index';
import store from '@/store';
import App from './App.vue';

import Vant from 'vant';
import QrcodeVue from 'qrcode.vue';
import 'vant/es/notify/style';
import 'vant/es/toast/style';
import 'vant/es/dialog/style';

import '@/assets/styles/index.scss';

import '@/assets/icon/iconfont.js';
import { notify } from '@/utils/notify';
import i18n from '@/const/lang';

const app = createApp(App);

app.config.globalProperties.message = notify;

app.use(router).use(store).use(i18n).use(Vant);

app.component('QrcodeVue', QrcodeVue);

app.mount('#app')
